package com.hc.wego.domain.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 用户
 */
@Getter
@Setter
@Accessors(chain = true)
@ToString
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UserVO  {
    /**
     * 编号
     */
    private Long id;

    /**
     * 昵称
     */
    private String nickname;

    /**
     * 头像
     */
    private String avatar;

    /**
     * 性别
     */
    private Boolean gender;

    /**
     * 生日
     */
    private LocalDate birth;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 电话
     */
    private String phone;

    /**
     * 账户
     */
    private String account;

    /**
     * 积分
     */
    private Integer credit;

    /**
     * 用户等级：从低到高1-5
     */
    private Integer level;

    /**
     * 状态
     */
    private Integer state;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;
}